package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ImcRightChannel entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "imc_right_channel", catalog = "imcdbserver")
public class ImcRightChannel implements java.io.Serializable {

	// Fields

	private long tabId;
	private String tabImage;
	private String tabName;
	private String tabSortNumber;
	private String tabLoginType;
	private String tabMainUrl;
	private String tabBackUrl;
	private String tabMiddleUrl;
	private String tabBehindUrl;
	private String tabStatus;
	private Integer corpId;
	private short accessNumber;

	// Constructors

	/** default constructor */
	public ImcRightChannel() {
	}

	/** minimal constructor */
	public ImcRightChannel(String tabName) {
		this.tabName = tabName;
	}

	/** full constructor */
	public ImcRightChannel(String tabImage, String tabName,
			String tabSortNumber, String tabLoginType, String tabMainUrl,
			String tabBackUrl, String tabMiddleUrl, String tabBehindUrl,
			String tabStatus, Integer corpId, short accessNumber) {
		this.tabImage = tabImage;
		this.tabName = tabName;
		this.tabSortNumber = tabSortNumber;
		this.tabLoginType = tabLoginType;
		this.tabMainUrl = tabMainUrl;
		this.tabBackUrl = tabBackUrl;
		this.tabMiddleUrl = tabMiddleUrl;
		this.tabBehindUrl = tabBehindUrl;
		this.tabStatus = tabStatus;
		this.corpId = corpId;
		this.accessNumber = accessNumber;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "Tab_id", unique = true, nullable = false)
	public long getTabId() {
		return this.tabId;
	}

	public void setTabId(long tabId) {
		this.tabId = tabId;
	}

	@Column(name = "Tab_Image", length = 20)
	public String getTabImage() {
		return this.tabImage;
	}

	public void setTabImage(String tabImage) {
		this.tabImage = tabImage;
	}

	@Column(name = "Tab_name", nullable = false, length = 20)
	public String getTabName() {
		return this.tabName;
	}

	public void setTabName(String tabName) {
		this.tabName = tabName;
	}

	@Column(name = "Tab_SortNumber", length = 2)
	public String getTabSortNumber() {
		return this.tabSortNumber;
	}

	public void setTabSortNumber(String tabSortNumber) {
		this.tabSortNumber = tabSortNumber;
	}

	@Column(name = "Tab_LoginType", length = 1)
	public String getTabLoginType() {
		return this.tabLoginType;
	}

	public void setTabLoginType(String tabLoginType) {
		this.tabLoginType = tabLoginType;
	}

	@Column(name = "Tab_main_url", length = 30)
	public String getTabMainUrl() {
		return this.tabMainUrl;
	}

	public void setTabMainUrl(String tabMainUrl) {
		this.tabMainUrl = tabMainUrl;
	}

	@Column(name = "Tab_back_url", length = 30)
	public String getTabBackUrl() {
		return this.tabBackUrl;
	}

	public void setTabBackUrl(String tabBackUrl) {
		this.tabBackUrl = tabBackUrl;
	}

	@Column(name = "Tab_middle_url", length = 30)
	public String getTabMiddleUrl() {
		return this.tabMiddleUrl;
	}

	public void setTabMiddleUrl(String tabMiddleUrl) {
		this.tabMiddleUrl = tabMiddleUrl;
	}

	@Column(name = "Tab_behind_url", length = 30)
	public String getTabBehindUrl() {
		return this.tabBehindUrl;
	}

	public void setTabBehindUrl(String tabBehindUrl) {
		this.tabBehindUrl = tabBehindUrl;
	}

	@Column(name = "Tab_status", length = 1)
	public String getTabStatus() {
		return this.tabStatus;
	}

	public void setTabStatus(String tabStatus) {
		this.tabStatus = tabStatus;
	}

	@Column(name = "corp_id")
	public Integer getCorpId() {
		return this.corpId;
	}

	public void setCorpId(Integer corpId) {
		this.corpId = corpId;
	}

	@Column(name = "AccessNumber")
	public short getAccessNumber() {
		return this.accessNumber;
	}

	public void setAccessNumber(short accessNumber) {
		this.accessNumber = accessNumber;
	}

}